package com.wyz.module.comm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @author 无涯子
 * @version 1.0
 * @date 2024/4/16 22:16:49
 */
@ToString
@Data
@ApiModel(value = "loginUserDO", description = "登录用户表")
@TableName("login_user")
public class LoginUserDO {
    @ApiModelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("username")
    @ApiModelProperty("登录用户")
    private String username;

    @TableField("password")
    @ApiModelProperty("密码")
    private String password;

    @TableField("enabled")
    @ApiModelProperty("是否启用")
    private Boolean enabled;
}
